<template>
  <div class="bmap" id="container"></div>
</template>
<script>
export default {
  name: 'BmapDemo',
  data () {
    return {
    }
  },
  methods: {
  },
  created () {
  },
  mounted () {
    var map = new window.BMap.Map('container')
    var point = new window.BMap.Point(116.404, 39.915)
    map.centerAndZoom(point, 15)
  },
  components: {
  },
  props: []
}
</script>

<style scoped lang = "less">
.bmap{
    width: 800px;
    height: 600px;
    border: 1px solid #000;
}
</style>
